SftTree/OCX 7.0

SftTreeItems.MaxHeightPix Property

Softel vdm, Inc.

Defines the maximum height of all items.

Syntax       

Get

VB.NET

MaxPix = object.MaxHeightPix  As Integer

VB

MaxPix = object.MaxHeightPix  As Long

C#.NET

int MaxPix = object.MaxHeightPix;

VC++

long MaxPix = object->MaxHeightPix;
long MaxPix = object->GetMaxHeightPix();

C

HRESULT object->get_MaxHeightPix(long* MaxPix);

Delphi

MaxPix := object.MaxHeightPix   : Integer;

Put

VB.NET

object.MaxHeightPix = MaxPix  As Integer

VB

object.MaxHeightPix = MaxPix  As Long

C#.NET

int object.MaxHeightPix = MaxPix;

VC++

long object->MaxHeightPix = MaxPix;
void object->PutMaxHeightPix(long MaxPix);

C

HRESULT object->put_MaxHeightPix(long MaxPix);

Delphi

object.MaxHeightPix := MaxPix   : Integer;

object

A SftTreeItems object.

MaxPix

Defines the maximum height of all items in pixels. If 0 is specified, items use the height required, so items are not clipped vertically.

Comments

The MaxHeightPix property defines the maximum height of all items.

If items are larger than the defined maximum height, they are truncated and clipped.

This property has no effect when variable height items are used (see Items.Style).  The Item.MinHeightPix and Item.MaxHeightPix properties can be used for variable height items to define the minimum and maximum height for each individual item.

The Items.Lines property can be used to define the number of text lines used for item height calculation.

The Items.MinHeightPix property defines the minimum height of all items.

See Also  SftTreeItems Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com